Release 10.1A: OpenEdge Development:
Progress 4GL Reference


REFRESH-AUDIT-POLICY( ) method

Notifies the specified audit-enabled database that its audit policy tables have changed, which causes the database to refresh its current run-time audit policy settings cache before performing any more database operations.

For information about audit-enabling a database, or creating and activating an audit policy for a database, see OpenEdge Getting Started: Core Business Services .

Return type: LOGICAL

Applies to: AUDIT-POLICY system handle

Syntax
REFRESH-AUDIT-POLICY( integer-expression | logical-name | alias ) 

integer-expression

The sequence number of the connected database that needs to refresh its audit policy settings cache. For example, REFRESH-AUDIT-POLICY(1) notifies the first database, REFRESH-AUDIT-POLICY(2) notifies the second database, and so on. If you specify a sequence number that does not correspond to a connected database, Progress generates a run-time error.

logical-name or alias

The logical name or alias of the connected database that needs to refresh its audit policy settings cache. These forms require a quoted character string or a character expression. If you specify a logical name or alias that does not correspond to a connected database, Progress generates a run-time error.

If successful, this method returns TRUE. Otherwise, it returns FALSE.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095